<template>
	<view class="root">
		<view class="message-list">
			<message-card></message-card>
		</view>
		
		<u-tabbar :list="vuex_tabbar" :mid-button="true" @change="clickTabbar" :current="0"></u-tabbar>
	</view>
</template>

<script>
import {mapState, mapMutations} from 'vuex';
export default {
	data() {
		return {
			title: 'Hello'
		}
	},
	computed: {
		...mapState(['vuex_tabbar'])
	},
	onLoad() {

	},
	mounted() {
		console.log(this.vuex_tabbar)
	},
	methods: {
		clickTabbar(){
			console.log(123)
		}
	}
}
</script>

<style lang="scss">
	.message-list{
		width: 100%;
	}
</style>
